﻿using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;

namespace Model
{
    [Table("Member")]
    public class Member: ModelAudit
    {
        [Key]
        public int Id {  get; set; }
        /// <summary>
        /// 会员名称
        /// </summary>
        public string Name { get; set; }
        /// <summary>
        /// 密码
        /// </summary>
        public string Pwd {  get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int State { get; set; } = 1;
        /// <summary>
        /// 会员等级
        /// </summary>
        public int LevelId { get; set; }
    }
}
